package secondStage.part6.方法引用类.引用对象的实例方法;

/**
 * @ClassName: [PrintString]
 * @Description:
 * @Author: [黄劲松]
 * @CreateDate: [2021-04-14]
 * @Version: [v1.0]
 */
public class PrintString {
    public void printUpper(String s){
        //把字符串参数变成大写的数据，然后在控制台输出
        String result = s.toUpperCase();
        System.out.println(result);
    }
}
